﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace AutoChess
{
    /// <summary>
    /// 渲染器需要做池复用
    /// </summary>
    /// <typeparam name="D"></typeparam>
    /// <typeparam name="R"></typeparam>
    public interface IVisualRenderer <D,R> where R:IVisualRenderer<D,R> where D:IVisualData<D,R>
    {
        void OnConnect(D data);
        void OnDisconnect();
        void RefreshRenderer();
    }
}
